//
//  Select.m
//  YSSmartHome
//
//  Created by yanghao on 16/9/13.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import "ZTSelect.h"

@implementation ZTSelect

- (instancetype)init
{
    self = [super init];
    if (self) {
        _name = nil;
        _slectStatu = SelectStatuUnkonw;
        _device = nil;
    }
    return self;
}
+(instancetype)selectWithName:(NSString *)name device:(ZTDevice *)device selectDesc:(NSString *)selectDesc normalDesc: (NSString *)normalDesc
{
    ZTSelect *select =[[ZTSelect alloc]init];
    select.name = name;
    select.device = device;
    select.strSelectDesc = selectDesc;
    select.strNormalDesc = normalDesc;
    return select;
}
@end
